Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[top_darjeeling] Instantiate AC Range checks #25862

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Razer6
Copy link
Member

@Razer6 Razer6 commented Jan 14, 2025

This PR instantiates the AC ranges for a single egress port. All Egress ports are muxed to a single egress port before leaving Darjeeling. An additional external miscellaneous port is added to the system that is coming from the external uncore but muxed with same mux and going through the AC ranges.

@Razer6 Razer6 requested review from a team and cfrantz as code owners January 14, 2025 12:47
@Razer6 Razer6 requested review from hcallahan-lowrisc, moidx, rswarbrick, andreaskurth and vogelpi and removed request for a team, cfrantz, hcallahan-lowrisc and moidx January 14, 2025 12:47
Copy link
Contributor

@rswarbrick rswarbrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Crikey, these patches are enormous! (I understand that the code is autogenerated, but it's still an awful lot!)

Am I right in thinking these commits are orthogonal? If so, maybe it makes sense to split up the PR?

@Razer6
Copy link
Member Author

Razer6 commented Jan 14, 2025

I don't think splitting up makes sense. The one big commit instantiates the ac ranges on the HJSON (5 lines or so) and this triggers ipgen to copy over the IP. If we split it up, there would be inconsistent IPs

@Razer6 Razer6 force-pushed the ac-ranges-instance branch from 4066f22 to 112e519 Compare January 20, 2025 16:24
@Razer6 Razer6 requested a review from rswarbrick January 20, 2025 16:25
@Razer6
Copy link
Member Author

Razer6 commented Jan 20, 2025

@rswarbrick @vogelpi Since #25894 is merged, this now correctly maps the AC ranges. Can you take another look?

@Razer6 Razer6 force-pushed the ac-ranges-instance branch from 112e519 to 6825009 Compare January 20, 2025 16:34
@Razer6 Razer6 force-pushed the ac-ranges-instance branch from 6825009 to 63305a4 Compare January 21, 2025 06:29
This adds a base address translation (BAT) on the muxed
host TLUL port before exiting to the AC ranges. This BAT
removes the 1-2GB offset and downlifsts the address to
0-1GB when exiting.

Signed-off-by: Robert Schilling <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants